Meta description:

When making an action that use the Ice element, you can spend 5 SP to inflict 1d6 Slow points to the target(s) for the next 10s. Each subsequent dice costs 1 SP more than the previous one. After 5s half the Slow points vanished but reapplying Slow points reset the duration to 10s. The Slow points reduce the target movement speed proportionally to their maximum HP: 1 Slow point on a 10 maxHP creature reduce their movement speed by 10%, capped at 50%. If the action affects multiple targets, the user distribute the points as they wants across them.

  • Name:

    mIceSlowI

  • Displayed name:

    Ice slow I

  • Description:

    When making an action that use the Ice element, you can spend 5 SP to inflict 1d6 Slow points to the target(s) for the next 10s. Each subsequent dice costs 1 SP more than the previous one. After 5s half the Slow points vanished but reapplying Slow points reset the duration to 10s. The Slow points reduce the target movement speed proportionally to their maximum HP: 1 Slow point on a 10 maxHP creature reduce their movement speed by 10%, capped at 50%. If the action affects multiple targets, the user distribute the points as they wants across them.

  • Cost:

    expCost(250,300)-0

  • Script:

  • Duration:

    -1

  • Type:

    0

  • Recurrent script:

  • Add ons:

    • Condition:

      action:tagsContain([[iceDamage]]) or action:tagsContain([[ice]])

    • Description:

    • Variables:

      vIceSlowCost = 5

    • Script:

    • Action effects:

      • Use case:

        3*number(vIceSlowPoints.value>0)

      • Name:

        Ice slowing

      • Description:

        The user may spend vIceSlowCost.string SP to inflict 1d6 Slow points to the target(s) for the next 10s ; each additional dice costs 1 SP more than the previous one. For a total of vIceSlowPoints.string Slow points

      • Script:

        if not character:has([[mSlowPoints]]) then mSlowPoints = character:createEffect([[mSlowPoints]]) mSlowPoints.displayName:set([[Slow points]]) mSlowPoints.description:set([[Slow points reduce Movement proportionally to maximum HP, capped at 50%.]]) mSlowPoints.script:set([=[sSlowPoints = character:createStat([[sSlowPoints]]) sSlowPoints.displayName:set([[Slow points]]) character.sMovement:addCurrent([[-min(sSlowPoints/sMaxHP,1.0)*100%]], [[physical]], [[Slow points]])]=]) mSlowPoints.recurrentScript:set([=[if modifier.duration.value == 5 then character.sSlowPoints:changeCurrent(-character.sSlowPoints.current/2) end]=]) mSlowPoints:activate() end character.mSlowPoints.duration:set(10) character.sSlowPoints:changeCurrent(vIceSlowPoints.value)

      • Variables:

        vIceSlowPoints = NumberVariable([[vIceSlowPoints]],[[Slow points]],[[0]],[[100]],[[1]])

  • Upgrades:

    • Name:

      mIceSlowII

    • Displayed name:

      Ice slow II

    • Description:

      Reduces the amount needed to inflict the first Slow points dice to 4 SP.

    • Cost:

      expCost(800,300)-125

    • Script:

      master.displayName:set([[Ice slow II]]) master.description:replace([[spend 5 SP]],[[spend 4 SP]]) master.addOns[1].variables:replace([[vIceSlowCost = 5]],[[vIceSlowCost = 4]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Name:

      mIceSlowIII

    • Displayed name:

      Ice slow III

    • Description:

      Reduces the amount needed to inflict the first Slow points dice to 3 SP.

    • Cost:

      expCost(1550,300)-400

    • Script:

      master.displayName:set([[Ice slow III]]) master.description:replace([[spend 4 SP]],[[spend 3 SP]]) master.addOns[1].variables:replace([[vIceSlowCost = 4]],[[vIceSlowCost = 3]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Name:

      mIceSlowIV

    • Displayed name:

      Ice slow IV

    • Description:

      Reduces the amount needed to inflict the first Slow points dice to 2 SP.

    • Cost:

      expCost(2600,300)-775

    • Script:

      master.displayName:set([[Ice slow IV]]) master.description:replace([[spend 3 SP]],[[spend 2 SP]]) master.addOns[1].variables:replace([[vIceSlowCost = 3]],[[vIceSlowCost = 2]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Name:

      mIceSlowV

    • Displayed name:

      Ice slow V

    • Description:

      Reduces the amount needed to inflict the first Slow points dice to 1 SP.

    • Cost:

      expCost(3900,300)-1300

    • Script:

      master.displayName:set([[Ice slow V]]) master.description:replace([[spend 2 SP]],[[spend 1 SP]]) master.addOns[1].variables:replace([[vIceSlowCost = 2]],[[vIceSlowCost = 1]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons: